package com.chenenjun.service;

import java.util.List;

import com.chenenjun.vo.Article;
import com.chenenjun.vo.PageBean;

public interface IArticleService {
	public List<Article> queryArticles();
	public PageBean queryAByP(int curPage, int userid);
	public boolean delArticle(int id, int rootid);
	public boolean addArticle(Article a);
	public String queryArticlesById(int id);// 在service层中转换成json格式
}
